package com.xf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xf.common.core.entity.dmp.DmpProvider;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author JoeyLiu
 * @create 2022-03-29 15:27
 */
@Mapper
public interface DmpProviderMapper extends BaseMapper<DmpProvider> {
    /**
     * delete by primary key
     *
     * @param id primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(String id);

    /**
     * select by primary key
     *
     * @param id primary key
     * @return object by primary key
     */
    DmpProvider selectByPrimaryKey(String id);



    Boolean updateBatchSelective(List<DmpProvider> list);

    Boolean batchInsertOrUpdate(@Param("list") List<DmpProvider> list);


    Boolean insertOrUpdateWithBLOBs(DmpProvider record);
}